setTimeout(() => {
  console.log("s1");
});
Promise.resolve().then(() => {
  console.log("p1");
});

console.log("start");

process.nextTick((_) => {
  // 优先级微任务最高
  console.log("tick");
});
console.log("end");
setImmediate(() => {
  // check
  console.log("setimm");
});
